package com.codefish.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 家庭
 * 
 * @author codefish
 * @email cool_fish@aliyun.com
 * @date 2021-07-06 19:33:54
 */
@Data
@TableName("base_family")
public class BaseFamily implements Serializable {

	/**
	 * id
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/**
	 * 家庭名称
	 */
	private String familyName;
	/**
	 * 0无效 1有效
	 */
	private Integer state;
	/**
	 * 创建人
	 */
	private Long createId;
	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private LocalDateTime createTime;
	/**
	 * 0未删除 1删除
	 */
	private Integer isDel;

	/**
	 * uuid
	 */
	private String uuid;

}
